import json
from config import BASE_DIR
def data_json(filename):
    with open(filename,encoding='utf-8') as f:
        data_list = json.load(f)
        temp_list=[]
        for i in data_list:
            temp_list.append(tuple(i.values()))
    return temp_list

if __name__ == '__main__':
    print(data_json(BASE_DIR + '/data/login.json'))
